<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class PostComment extends Model
{
    //帖子评论
    protected $table = 'post_comment';   //数据表
    protected $pk = 'post_comment_id';  //主键

    protected $schema=[
        'post_comment_id' => 'int',
        'post_id' => 'int',
        'user_id' => 'int',
        'post_comment_content' => 'string',
        'post_comment_time'=>'datetime'
    ];

    protected $createTime = 'post_comment_time';



}
